<?php

class Home extends CI_Controller{
function index(){
	if ($this->session->userdata('login')==TRUE){
		$this->load->view('dashboard');
	}else{
	$this->load->view('home2');
	}
}	
	

}
